Release 10.1A: OpenEdge Data Management:
SQL Reference
RIGHT
Returns the rightmost count of characters of
string_exp.Syntax
Example
This example illustrates the
RIGHTfunction, selecting the rightmost six letters from the string ‘Afghanistan’:
Notes
- The
string_expcan be fixed-length or variable-lengthCHARACTERdata types.- The
countcan beINTEGER,SMALLINT, orTINYINTdata types.- If any of the arguments of the expression evaluate to
NULL, the result isNULL.- If
countis negative, the result evaluates toNULL.string_expand the result can contain multi-byte characters.countrepresents the number of characters.Compatibility
ODBC compatible
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |